#ifndef _ENEMY_MANAGER_H
#define _ENEMY_MANAGER_H

#include <vector>
#include<map>
#include "XML\XMLTreeNode.h"

class CEnemy;

class CEnemyManager
{
public:
	static CEnemyManager* GetInstance();

	~CEnemyManager(void);

	void Init(const std::string &filepath);
	void Update();
	void Render();
	void Destroy();
	void Reload();

	const CXMLTreeNode & GetCoreEnemy(const std::string &type);

private:
	CEnemyManager(void);
	std::vector<CEnemy*> m_Enemy_vector;
	std::string m_filepath;
	std::map<std::string, CXMLTreeNode> m_CoreInfo;

	static CEnemyManager *m_Instance;
};

#endif